﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Base;
using ERP.BusinessEntities;

namespace MainApp.Modules.Stock
{
    public class StockEntity: BaseEntity
    {
       // SGVList<ICStockBOMsInfo> lstICStockBOMs = new SGVList<ICStockBOMsInfo>();

        public override void InitModuleObjects()
        {
            AddMainObject("ICStocks", new ICStocksInfo());
        }

        public override void InitLists()
        {
            base.InitLists();

            //lstICStockBOMs = new SGVList<ICStockBOMsInfo>();
            //lstICStockBOMs.InitList(this, "ICStocks", "ICStockBOMs", "FK_ICStocks_ParentID");

            //ICStockBOMsInfo b1 = new ICStockBOMsInfo();
            //b1.Qty = 10;
            ////b1.FK_ICStocks_ID = 1;
            //lstICStockBOMs.Add(b1);
            //ICStockBOMsInfo b2 = new ICStockBOMsInfo();
            //b2.Qty = 6;
            //lstICStockBOMs.Add(b2);

            //lstICStockBOMs.Binding("MainScreen", "ICStockBOMsGridView");
        }
    }
}
